package com.jicheng.entity;

import com.jicheng.ext.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
@Data
@Table(name = "tb_app_user")
public class SuperviseUser implements Serializable {

    //终端id
    @Id
//    @Column(name = "appId")
    private String appId;
    //终端用户姓名
    private String name;
    //手机号
    private String phone;
    //籍贯
    private String nativePlace;
    //出生日期
//    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date birthDay;
    //入党时间
    private Date joinPartyTime;
    //职务
    private String duty;
    //是否党代表
    private String isRepresentative;
    //是否政协委员
    private String isCppcc;
    //身份证号
    private String idCard;
    //性别   1 男    2 女     0 未知")
    private String sex;
    //民族
    private String nation;
   //学历
    private String education;
    //参加工作时间
    private Date workingHours;
    //现任单位
    private String currentUnit;
    //任职时间
    private String tenure;
    //是否人大代表
    private String isNpc;
    //居住地址
    private String address;
    //创建时间
    private Date createTime;
    private String header;
}